package com.xh.web.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 索引对象 d_table_index
 *
 * @author dongxuefei
 * @date 2020-10-16
 */
public class DTableIndex extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 项目id*/
    private String projectId;

    /** 索引名 */
    private String indexName;

    /** 索引类型 */
    private String indexType;

    /** 索引列 */
    private String indexColumn;

    /** 主键表 */
    private String tableCode;

    /** $column.columnComment */
    private String tableName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateDate;

    /** 索引列 */
    private String remarks;

    /** 删除标记 */
    private String delFlag;

    /** 中文索引类型 */
    private String indexCtype;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setIndexName(String indexName)
    {
        this.indexName = indexName;
    }

    public String getIndexName()
    {
        return indexName;
    }
    public void setIndexType(String indexType)
    {
        this.indexType = indexType;
    }

    public String getIndexType()
    {
        return indexType;
    }
    public void setIndexColumn(String indexColumn)
    {
        this.indexColumn = indexColumn;
    }

    public String getIndexColumn()
    {
        return indexColumn;
    }
    public void setTableCode(String tableCode)
    {
        this.tableCode = tableCode;
    }

    public String getTableCode()
    {
        return tableCode;
    }
    public void setTableName(String tableName)
    {
        this.tableName = tableName;
    }

    public String getTableName()
    {
        return tableName;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate)
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate()
    {
        return updateDate;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getIndexCtype() {
        return indexCtype;
    }

    public void setIndexCtype(String indexCtype) {
        this.indexCtype = indexCtype;
    }

    @Override
    public String toString() {
        return "DTableIndex{" +
                "id='" + id + '\'' +
                ", projectId='" + projectId + '\'' +
                ", indexName='" + indexName + '\'' +
                ", indexType='" + indexType + '\'' +
                ", indexColumn='" + indexColumn + '\'' +
                ", tableCode='" + tableCode + '\'' +
                ", tableName='" + tableName + '\'' +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", remarks='" + remarks + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", indexCtype='" + indexCtype + '\'' +
                '}';
    }
}
